broadway: Drop a pointless vfunc
authorMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jun 2020 22:19:57 +0000 (18:19 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 8 Jun 2020 22:24:20 +0000 (18:24 -0400)
A vfunc that just returns FALSE is not useful.

gdk/broadway/gdkdevice-broadway.c

index a936d36d365abae53992f05fda05fb88c4300913..4ab5295c7d56fc9432ca404e887d5ce1525d174d 100644 (file)
 #include "gdksurfaceprivate.h"
 #include "gdkprivate-broadway.h"
 
-static gboolean gdk_broadway_device_get_history (GdkDevice      *device,
-                                                 GdkSurface      *surface,
-                                                 guint32         start,
-                                                 guint32         stop,
-                                                 GdkTimeCoord ***events,
-                                                 gint           *n_events);
 static void gdk_broadway_device_get_state (GdkDevice       *device,
                                            GdkSurface       *surface,
                                            gdouble         *axes,
@@ -64,7 +58,6 @@ gdk_broadway_device_class_init (GdkBroadwayDeviceClass *klass)
 {
   GdkDeviceClass *device_class = GDK_DEVICE_CLASS (klass);
 
-  device_class->get_history = gdk_broadway_device_get_history;
   device_class->get_state = gdk_broadway_device_get_state;
   device_class->set_surface_cursor = gdk_broadway_device_set_surface_cursor;
   device_class->query_state = gdk_broadway_device_query_state;
@@ -84,17 +77,6 @@ gdk_broadway_device_init (GdkBroadwayDevice *device_core)
   _gdk_device_add_axis (device, NULL, GDK_AXIS_Y, 0, 0, 1);
 }
 
-static gboolean
-gdk_broadway_device_get_history (GdkDevice      *device,
-                                 GdkSurface      *surface,
-                                 guint32         start,
-                                 guint32         stop,
-                                 GdkTimeCoord ***events,
-                                 gint           *n_events)
-{
-  return FALSE;
-}
-
 static void
 gdk_broadway_device_get_state (GdkDevice       *device,
                                GdkSurface       *surface,